module Node.Stream.Helper.Concat(
    concatEX,
    concat
) where

import Prelude

import Effect (Effect)
import Node.Buffer (Buffer)
import Node.Stream (Writable)
import Node.StreamEx.Types as ST

foreign import concat ::forall w. (Buffer -> Effect Unit) -> Effect (Writable w)

foreign import concatEX::forall w a.(a -> Effect Unit) -> Effect (ST.Writable w)